<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix='c' uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<script src="<%=basePath%>/js/jquery-1.9.1.min.js"></script>
<div class="left_col scroll-view">
	<div class="navbar nav_title" style="border: 0;">
		<%-- <%=basePath%>/index --%>
		<a href="#" class="site_title"><i class="fa fa-bus"></i> <span>管理后台</span></a>
	</div>

	<div class="clearfix"></div>

	<!-- menu profile quick info -->
	<div class="profile clearfix">
		<div class="profile_pic">
			<!--替换为用户头像-->
			<!-- <img src="images/img.jpg" alt="..." class="img-circle profile_img"> -->
		</div>
		<div class="profile_info">
			<span>欢迎使用,</span>
			<!--替换为登录人姓名-->
			<h2>${account.accountName}</h2>
		</div>
	</div>
	<!-- /menu profile quick info -->

	<br/>

	<!-- sidebar menu 菜单栏目-->
	<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
		<div class="menu_section">
			<!-- <h3>统一标题位置</h3> -->
			<ul class="nav side-menu">
				<li><a href="<%=basePath%>/index"><i class="fa fa-home"></i>Home</a>
				</li>
				<c:forEach var="module" items="${moduleList}" varStatus="status">
					<li><a><i class="${module.moduleIcon}"></i><span>${module.moduleName }</span><span
							class="fa fa-chevron-down"></span></a>
						<ul class="nav child_menu">
							<c:forEach var="moduleItem" items="${module.moduleItems }">
								<li>
									<a href="<%=basePath%>${moduleItem.modulePath }?appKey=${account.appKey}&comCode=${account.comCode}"> ${moduleItem.moduleName }</a>
								</li>
							</c:forEach>
						</ul>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>
	<!-- /sidebar menu -->

	<!-- menu footer buttons 底部按钮-->
	<div class="sidebar-footer hidden-small">
		<a data-toggle="tooltip" data-placement="top" title="Settings">
			<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
		</a>
		<a data-toggle="tooltip" data-placement="top" title="FullScreen">
			<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
		</a>
		<a data-toggle="tooltip" data-placement="top" title="Lock">
			<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
		</a>
		<a data-toggle="tooltip" data-placement="top" title="Logout">
			<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
		</a>
	</div>
	<!-- /menu footer buttons -->
</div>

